package com.epalmpay.service.app;

import com.epalmpay.dto.mall.MallGoodInDTO;
import com.epalmpay.dto.mall.MallGoodListOutDTO;
import com.epalmpay.dto.mall.MallGoodQueryDTO;
import com.epalmpay.dto.order.MallOrderQueryDTO;
import com.epalmpay.dto.order.OrderGoodOutDTO;
import com.epalmpay.util.Response;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface IAppShopMallService {
    Map<String, Long> shopOrderList(Long shopId) throws Exception;

    List<OrderGoodOutDTO> listMallOrder(MallOrderQueryDTO mallOrderQueryDTO) throws ParseException;

    MallGoodListOutDTO listShopEntityGood(MallGoodQueryDTO mallGoodQueryDTO, Integer mode,Integer orderType) throws Exception;

    Response shopMallGoodManipulation(MallGoodInDTO mallGoodInDTO);

    Response addRemark(MallOrderQueryDTO mallOrderQueryDTO);

    MallGoodListOutDTO listShopMallGood(MallGoodQueryDTO mallGoodQueryDTO, Integer mode, Integer orderType)throws Exception;

    Response goodDetail(String id, String groupId)throws Exception;
}
